//
//  TextInputView.swift
//  aj
//
//  Created by leeqb on 1/29/16.
//  Copyright © 2016 powerlee. All rights reserved.
//

import UIKit

class TextInputView: UIView {
    @IBOutlet var cntView: UIView!
    @IBOutlet weak var textField: UITextField!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.initSelf()
    }
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        self.initSelf()
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.initSelf()
    }
    
    private func initSelf() {
        LX("TextInputView", owner: self)
        self.addSubview(cntView)
        
        cntView.frame.origin.x = 0
        cntView.frame.origin.y = 0
        cntView.frame.size = self.frame.size
    }

}
